package com.gscitysfy.cus.drain.modules.command.dto;

import com.alibaba.excel.annotation.ExcelIgnore;
import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.write.style.ColumnWidth;
import com.alibaba.fastjson.annotation.JSONField;
import com.gscitysfy.cus.drain.modules.command.entity.DrainCommandDispatchSchemeCar;
import com.gscitysfy.cus.drain.modules.command.entity.DrainCommandDispatchSchemeTeam;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.List;

/**
 * @Author jiang_wen
 * @Date 2022/10/20 19:41
 * @Description TODO
 */
@Data
public class SchemeManageExcelDto implements Serializable {
    @ExcelIgnore
    private Long cmKid;
    /**
     * 预案id
     */
    @ExcelProperty("方案编码")
    @ColumnWidth(20)
    private String schemeCode;
    /**
     * 方案类别
     */
    @ColumnWidth(20)
    @ExcelProperty("方案类别")

    private String schemeCategory;

    /**
     * 方案名称
     */
    @ColumnWidth(20)

    @ExcelProperty("方案名称")

    private String schemeName;
    /**
     * 方案来源
     */
    @ColumnWidth(20)
    @ExcelProperty("方案来源")
    private String schemeSource;

    @ColumnWidth(30 )
    @ExcelProperty("审核意见")
    private String auditContent;
    /**
     * 是否启用
     */
    @ExcelIgnore
    private Boolean enableFlag;
    @ExcelProperty("是否启用")
    private String enableFlagDesc;

    /**
     * 审核状态
     */
    @ExcelIgnore
    private String auditStatus;

    /**
     * 审核状态
     */
    @ExcelProperty("审核状态")
    private String auditStatusDesc;


    /**
     * 创建时间
     */
    @ExcelProperty("添加时间")
    @ColumnWidth(20)
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JSONField(format = "yyyy-MM-dd HH:mm:ss")
    private String cmAddTime;

    @ExcelProperty("添加人")
    @ColumnWidth(20)
    private String cmCreator;


}
